package com.fxhy.bean;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.google.gson.annotations.SerializedName;

import lombok.Data;

/**
 * 
 * 身份证信息
 * IdCardInfo
 */
@SuppressWarnings("serial")
@Entity
@Table(name="t_idcard_info")
@Data
public class IdCardInfo implements Serializable{
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Integer idCardInfoId;
	private Integer userId;
	
	private String idCardImg1; //身份证正面图
	private String idCardImg2; //身份证反面图
	
	@SerializedName("住址")
	private String address;
	
	@SerializedName("公民身份号码")
	private String cardNum;
	
	@SerializedName("出生")
	private String birthday;
	
	@SerializedName("姓名")
	private String userName;
	
	@SerializedName("性别")
	private String sex;
	
	@SerializedName("民族")
	private String nation;
	
	private Integer status;     //状态  0失效   1正常
	private String createUser;
	private String createTime;
	private String updateUser;
	private String updateTime;
}
